home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
cbibcode.arc
/
STRUPR.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1991-08-05
|
318 b
|
13 lines
/* strupr.c From TC Bible page 303 Use strupr to convert anfy lowercase
letters in a string to uppercase. */
#include <stdio.h>
#include <string.h>
main()
{
char buf[80];
printf("Enter a string with lowercase letters: ");
gets(buf);
strupr(buf);
printf("The string in uppercase is:\n%s\n", buf);
}